package com.yaodian100.ec.image.service;

import java.io.File;

import com.yaodian100.core.common.exception.CoreException;
import com.yaodian100.core.common.service.DomainService;
import com.yaodian100.ec.image.entity.Image;

public interface ImageService extends DomainService<Image> {
	public void deletePic(String[] picId);

	public String editImgDetail(Long imgId, File[] imageDes, String picDesc) throws CoreException;

	public String editImgDetail(Long imgId, File[] imageDes, String picDesc, String picShowSeq) throws CoreException;

	public boolean uploadDescImage(String productId, String type, File[] images, String[] imageName) throws CoreException;

	public boolean uploadImage(String productId, String type, File[] images, String[] imageFileName) throws CoreException;

	public boolean uploadImage(String productId, String type, File[] images, String[] imageFileName, String picDesc)
			throws CoreException;
}
